package DD;

public class Human {
    private long aLong;
    public String name;
    public int age;
    double salary;

    //TODO Constructors
    public Human() {
    }

   public Human(String name, int age, double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    //TODO Methods
    public void test1() {
        System.out.println(1);
    }

    private void test2(String a) {
        System.out.println(a);
    }
    public void eat(){
        System.out.println("eat.....");
    }
    void test3(int a) {
        System.out.println(a);
    }

    @Override
    public String toString() {
        return "Human{" +
                "aLong=" + aLong +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", salary=" + salary +
                '}';
    }
}

